﻿<!DOCTYPE html>
<!-- saved from url=(0061)http://wap.aichidiancan.com/index.php?ctl=orderlist&supplier_id=41 -->
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <title>爱吃点餐</title>

    <link href="~/今日餐品 - 寻面_files/layout.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="~/今日餐品 - 寻面_files/font-style.css" type="text/css">
    <meta name="keywords" content="爱吃点餐">
    <meta name="description" content="爱吃点餐">
    <script src="~/今日餐品 - 寻面_files/jquery.min1.7.1.js" type="text/javascript"></script>
    <script type="text/javascript">
        var APP_ROOT = "";
    </script>
    <script type="text/javascript" src="./今日餐品 - 寻面_files/common.js"></script>
    <script type="text/javascript">
        var map = new Map();
        var mapkey = new Map();

        function CartItem(deal_id, name, number, unit_price, total_price) {
            var ocar = new Object;
            ocar.deal_id = deal_id; //产品ID
            ocar.name = name;	 //产品名称
            ocar.number = number;	 //产品数量
            ocar.unit_price = unit_price;//单价
            ocar.total_price = total_price;//总价
            return ocar;
        }


        function getCartInfo() {
            $.ajax({
                type: "GET",
                url: "/index.php?ctl=orderlist&act=show_cart_total",
                data: {},
                dataType: "json",
                beforeSend: function (data) {
                }, success: function (data) {
                    $("#bottom_cartInfo").html("");
                    for (var m = 0; m < data.list.length; m++) {
                        map.put(parseInt(data.list[m].deal_id), parseInt(data.list[m].number));

                        var cartItem = CartItem(data.list[m].deal_id, data.list[m].name, data.list[m].number, parseFloat(data.list[m].unit_price).toFixed(2), data.list[m].total_price);
                        var str = addBootunCart(cartItem);
                        $("#bottom_cartInfo").append(str);
                    }
                    $("#totalnum").text(data.total_num);
                }, complete: function () { }, error: function () { }
            });
        }


        //增加购物车时调用
        function addBootunCart(cartItem) {
            var item = '<div class="row_area" id="area_item_' + cartItem.deal_id + '" ><span class="ra_name">' + cartItem.name + '</span>'
              + '<span class="ra_price">￥' + cartItem.unit_price + '</span>'
              + '<div class="ra_box"><span  onclick="subButtonCart(' + cartItem.deal_id + ',\'' + cartItem.name + '\',' + cartItem.number + ',' + cartItem.unit_price + ');"  class="ra_minuscircle" id="subcircleItem_' + cartItem.deal_id + '" itemId="' + cartItem.deal_id + '" itemName="' + cartItem.name + '" itemPrice="' + cartItem.unit_price + '" ></span> <span class="ra_b_num"  >' + cartItem.number + '</span> '
              + '<span class="ra_addcircle" id="addcircleItem_' + cartItem.deal_id + '" onclick="addButtonCart(' + cartItem.deal_id + ',\'' + cartItem.name + '\',' + cartItem.number + ',' + cartItem.unit_price + ');" itemId="' + cartItem.deal_id + '" itemName="' + cartItem.name + '" itemPrice="' + cartItem.unit_price + '" ></span></div>'
              + '</div>';
            return item;
        }

        function setTotal2() {
            var n = 0;
            $(".ra_box").each(function () {
                n += parseInt($(this).find('.ra_b_num').text());
            });
            $("#totalnum").text(n);
        }

        //减少购物车信息
        function subButtonCart(deal_id, name, number, unit_price) {
            $("#subcircleItem_" + deal_id)
            .css("color", "#f60")
            .siblings(".ra_addcircle")
            .css("color", "#999");
            var t = $("#subcircleItem_" + deal_id).parent().parent().find('.ra_b_num');
            t.text(parseInt(t.text()) - 1);
            if (parseInt(t.text()) <= 0) {
                t.text(0);
                $("#area_item_" + deal_id).remove();
                del_cart(deal_id);  //清除数据库购物车信息
                map.remove(parseInt(deal_id));
            } else {
                modify_cart(deal_id, t.text());
            }

            setTotal2();
        }

        function addButtonCart(deal_id, name, number, unit_price) {
            $("#addcircleItem_" + deal_id).css("color", "#f60").siblings(".ra_minuscircle").css("color", "#999");
            var t = $("#addcircleItem_" + deal_id).parent().find('.ra_b_num');
            t.text(parseInt(t.text()) + 1);
            if (parseInt(t.text()) > 0) {
                $("#addcircleItem_" + deal_id).siblings(".ra_minuscircle").css("display", "inline-block");
                $("#addcircleItem_" + deal_id).siblings(".ra_b_num").css("display", "inline-block");
            }
            modify_cart(deal_id, t.text());
            setTotal2();
        }

        $(function () {


            getCartInfo();

            $(".addcircles").click(
                    function () {


                        if (map.containsKey(parseInt($(this).attr("itemId")))) {
                            //修改底部购物车信息
                            var t = $("#addcircleItem_" + $(this).attr("itemId")).parent().find('.ra_b_num');
                            t.text(parseInt(t.text()) + 1);
                            map.remove(parseInt($(this).attr("itemId")));
                            map.put(parseInt($(this).attr("itemId")), parseInt(t.text()));
                            modify_cart($(this).attr("itemId"), t.text());
                        } else {
                            map.put(parseInt($(this).attr("itemId")), 1);
                            add_cart($(this).attr("itemId"), 1);
                            var cartItem = CartItem($(this).attr("itemId"), $(this).attr("itemName"), 1, parseFloat($(this).attr("itemPrice")).toFixed(2), parseFloat($(this).attr("itemPrice")).toFixed(2));
                            var str = addBootunCart(cartItem);
                            $("#bottom_cartInfo").append(str);
                        }
                        setTotal2();
                    });



            $(".ra_addcircle").click(function () {
                $(this).css("color", "#f60").siblings(".ra_minuscircle").css("color", "#999");
                var t = $(this).parent().find('.ra_b_num');
                t.text(parseInt(t.text()) + 1)
                if (parseInt(t.text()) > 0) {
                    $(this).siblings(".ra_minuscircle").css("display", "inline-block")
                    $(this).siblings(".ra_b_num").css("display", "inline-block");
                    setTotal2();
                }

            })

            function setTotal2() {
                var n = 0;
                $(".ra_box").each(function () {
                    n += parseInt($(this).find('.ra_b_num').text());
                });
                $("#totalnum").text(n);
            }

        });
    </script>
</head>


<body style="background: #fff;">
    <div class="header noodlefix">
        <!-- <a class="o_back" href="/" target="_blank"><span class="icon-back"></span>返回</a> -->
        <p class="head_tit">成都麻辣火锅店 </p>
        <a class="myhome" href="http://wap.aichidiancan.com/index.php?ctl=user_center" target="_blank"><span class="icon-my-center"></span>账户</a>

    </div>
    <div class="top_tipbox" style="position:fixed; top:43px; z-index:9999; left:0; width:100%; color:#ff8100; background:rgba(255,255,255,0.9); height:40px; line-height:40px; font-size:12px; text-align:center;">
        <div class="d1" id="div1" onmouseover="clearInterval(timer)" onmouseout="timer=setInterval(mar,30)" style="width:96%;margin:0 auto;overflow:hidden;white-space:nowrap;
">
            <span class="div2 tishi" id="div2" style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;营业时间：周一到周五 派送时间：上午9点-下午19点 高峰期，送餐时间略有延迟 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;营业时间：周一到周五 派送时间：上午9点-下午19点 高峰期，送餐时间略有延迟</span><span id="div3" class="div2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;营业时间：周一到周五 派送时间：上午9点-下午19点 高峰期，送餐时间略有延迟 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;营业时间：周一到周五 派送时间：上午9点-下午19点 高峰期，送餐时间略有延迟</span>
            <!-- <span class="div2 tishi" id="div2" style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;寻面春节放假通知：2016年2月1日正式放假，祝大家猴年快乐！ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;寻面春节放假通知：2016年2月1日正式放假，祝大家猴年快乐！ </span><span id="div3" class="div2"></span>-->

        </div>
    </div>
    <div class="noodlelistbox">
        <div class="nd_left_nav">
            <ul class="nd_nav_list tabs clearfix" id="tabs">
                <li class="current"><a href="http://wap.aichidiancan.com/index.php?ctl=orderlist&amp;supplier_id=41" title="全部">全部</a></li>
                <li class=""><a href="http://wap.aichidiancan.com/index.php?ctl=orderlist&amp;supplier_id=41&amp;b=13" title="特色干拌类">特色干拌类</a></li>
                <li class=""><a href="http://wap.aichidiancan.com/index.php?ctl=orderlist&amp;supplier_id=41&amp;b=14" title="爽口汤面类">爽口汤面类</a></li>
                <li class=""><a href="http://wap.aichidiancan.com/index.php?ctl=orderlist&amp;supplier_id=41&amp;b=15" title="套饭类">套饭类</a></li>
                <li class=""><a href="http://wap.aichidiancan.com/index.php?ctl=orderlist&amp;supplier_id=41&amp;b=16" title="饮品类">饮品类</a></li>
                <li><a href="http://wap.aichidiancan.com/index.php?ctl=orderlist&amp;supplier_id=41&amp;b=17" title="下午茶">下午茶</a></li>
                <li class=""><a href="http://wap.aichidiancan.com/index.php?ctl=orderlist&amp;supplier_id=41&amp;b=18" title="其他类">其他类</a></li>
                <li class=""><a href="http://wap.aichidiancan.com/index.php?ctl=orderlist&amp;supplier_id=41&amp;b=19" title="米线类">米线类</a></li>
            </ul>
            @*<div class="shopinfo">
                <a href="http://wap.aichidiancan.com/index.php?ctl=newslist&amp;cid=46" target="_blank"> <span class="icon-shopinfo"> </span><span>活动</span></a>
            </div>*@
        </div>
        <ul class="tab_conbox list_numbox" id="tab_conbox">
            <li class="tab_con" style="display: list-item;">
                <ul class="nd_right_list">
                    <input type="hidden" name="id" class="item_oid" value="70">
                    <li class="simpleCart_shelfItem">
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="~/今日餐品 - 寻面_files/55e5177facc57.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="./今日餐品 - 寻面_files/55e5177facc57.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name item_name">
                                            <a href="http://wap.aichidiancan.com/index.php?ctl=good&amp;id=70">核桃牛肉面（大） </a>
                                        </h2>
                                        <p class="p_clilibox">
                                            <img src="~/今日餐品 - 寻面_files/chili.png" width="7px">
                                            <img src="~/今日餐品 - 寻面_files/chili.png" width="7px">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥18/份</span>
                                            <span>现价：<em> ￥16</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="70" itemname="核桃牛肉面（大）" itemprice="16.0000">
                                                <span style=" background:#ff8200; display:block; width:100%;">点 餐</span>
                                            </div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="70" itemName="核桃牛肉面（大）" itemPrice="16.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="70" itemName="核桃牛肉面（大）" itemPrice="16.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <input type="hidden" name="id" class="item_oid" value="71">
                    <li class="simpleCart_shelfItem">
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="~/今日餐品 - 寻面_files/55e5174f3f513.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="~/今日餐品 - 寻面_files/55e5174f3f513.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name item_name">
                                            <a href="http://wap.aichidiancan.com/index.php?ctl=good&amp;id=71">核桃牛肉面（小） </a>
                                        </h2>
                                        <p class="p_clilibox">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥14/份</span>
                                            <span>现价：<em> ￥12</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="71" itemname="核桃牛肉面（小）" itemprice="12.0000">
                                                <span style=" background:#ff8200; display:block; width:100%;">点 餐</span>
                                            </div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="71" itemName="核桃牛肉面（小）" itemPrice="12.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="71" itemName="核桃牛肉面（小）" itemPrice="12.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <input type="hidden" name="id" class="item_oid" value="51">
                    <li class="simpleCart_shelfItem">
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="~/今日餐品 - 寻面_files/55bed08d1b9fd.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="~/今日餐品 - 寻面_files/55bed08d1b9fd.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name item_name">
                                            <a href="http://wap.aichidiancan.com/index.php?ctl=good&amp;id=51">早餐提供(炸酱面) </a>
                                        </h2>
                                        <p class="p_clilibox">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥6/份</span>
                                            <span>现价：<em> ￥4</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="51" itemname="早餐提供(炸酱面)" itemprice="4.0000">
                                                <span style=" background:#ff8200; display:block; width:100%;">点 餐</span>
                                            </div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="51" itemName="早餐提供(炸酱面)" itemPrice="4.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="51" itemName="早餐提供(炸酱面)" itemPrice="4.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <input type="hidden" name="id" class="item_oid" value="45">
                    <li class="simpleCart_shelfItem">
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="~/今日餐品 - 寻面_files/55913e2fc66cf.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="~/今日餐品 - 寻面_files/55913e2fc66cf.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name item_name">
                                            <a href="http://wap.aichidiancan.com/index.php?ctl=good&amp;id=45">私房肥肠面（小） </a>
                                        </h2>
                                        <p class="p_clilibox">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥10/份</span>
                                            <span>现价：<em> ￥8</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="45" itemname="私房肥肠面（小）" itemprice="8.0000">
                                                <span style=" background:#ff8200; display:block; width:100%;">点 餐</span>
                                            </div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="45" itemName="私房肥肠面（小）" itemPrice="8.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="45" itemName="私房肥肠面（小）" itemPrice="8.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <input type="hidden" name="id" class="item_oid" value="43">
                    <li class="simpleCart_shelfItem">
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="~/今日餐品 - 寻面_files/558d91e1520f8.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="~/今日餐品 - 寻面_files/558d91e1520f8.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name item_name">
                                            <a href="http://wap.aichidiancan.com/index.php?ctl=good&amp;id=43">焖锅牛杂面（小） </a>
                                        </h2>
                                        <p class="p_clilibox">
                                            <img src="./今日餐品 - 寻面_files/chili.png" width="7px">
                                            <img src="./今日餐品 - 寻面_files/chili.png" width="7px">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥10/份</span>
                                            <span>现价：<em> ￥8</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="43" itemname="焖锅牛杂面（小）" itemprice="8.0000">
                                                <span style=" background:#ff8200; display:block; width:100%;">点 餐</span>
                                            </div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="43" itemName="焖锅牛杂面（小）" itemPrice="8.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="43" itemName="焖锅牛杂面（小）" itemPrice="8.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <input type="hidden" name="id" class="item_oid" value="31">
                    <li class="simpleCart_shelfItem">
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="~/今日餐品 - 寻面_files/558d790a0d6c0.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="~/今日餐品 - 寻面_files/558d790a0d6c0.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name item_name">
                                            <a href="http://wap.aichidiancan.com/index.php?ctl=good&amp;id=31">剁椒姜鸭面(大） </a>
                                        </h2>
                                        <p class="p_clilibox">
                                            <img src="./今日餐品 - 寻面_files/chili.png" width="7px">
                                            <img src="./今日餐品 - 寻面_files/chili.png" width="7px">
                                            <img src="./今日餐品 - 寻面_files/chili.png" width="7px">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥15/份</span>
                                            <span>现价：<em> ￥13</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="31" itemname="剁椒姜鸭面(大）" itemprice="13.0000">
                                                <span style=" background:#ff8200; display:block; width:100%;">点 餐</span>
                                            </div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="31" itemName="剁椒姜鸭面(大）" itemPrice="13.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="31" itemName="剁椒姜鸭面(大）" itemPrice="13.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </li>
            <li class="tab_con" style="display: none;">
                <ul class="nd_right_list">
                    <li>
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="~/今日餐品 - 寻面_files/55e5177facc57.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="~/今日餐品 - 寻面_files/55e5177facc57.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name">
                                            <a href="">核桃牛肉面（大） </a>
                                        </h2>
                                        <p class="p_clilibox">
                                            <img src="~/今日餐品 - 寻面_files/chili.png" width="7px">
                                            <img src="~/今日餐品 - 寻面_files/chili.png" width="7px">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥18/份</span>
                                            <span>现价：<em> ￥16</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="70" itemname="核桃牛肉面（大）" itemprice="16.0000"><span style=" background:#ff8200; display:block; width:100%;">点 餐</span></div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="70" itemName="核桃牛肉面（大）" itemPrice="16.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="70" itemName="核桃牛肉面（大）" itemPrice="16.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="~/今日餐品 - 寻面_files/55e5174f3f513.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="~/今日餐品 - 寻面_files/55e5174f3f513.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name">
                                            <a href="">核桃牛肉面（小） </a>
                                        </h2>
                                        <p class="p_clilibox">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥14/份</span>
                                            <span>现价：<em> ￥12</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="71" itemname="核桃牛肉面（小）" itemprice="12.0000"><span style=" background:#ff8200; display:block; width:100%;">点 餐</span></div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="71" itemName="核桃牛肉面（小）" itemPrice="12.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="71" itemName="核桃牛肉面（小）" itemPrice="12.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="./今日餐品 - 寻面_files/55bed08d1b9fd.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="./今日餐品 - 寻面_files/55bed08d1b9fd.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name">
                                            <a href="">早餐提供(炸酱面) </a>
                                        </h2>
                                        <p class="p_clilibox">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥6/份</span>
                                            <span>现价：<em> ￥4</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="51" itemname="早餐提供(炸酱面)" itemprice="4.0000"><span style=" background:#ff8200; display:block; width:100%;">点 餐</span></div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="51" itemName="早餐提供(炸酱面)" itemPrice="4.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="51" itemName="早餐提供(炸酱面)" itemPrice="4.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="./今日餐品 - 寻面_files/558d790a0d6c0.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="./今日餐品 - 寻面_files/558d790a0d6c0.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name">
                                            <a href="">剁椒姜鸭面(大） </a>
                                        </h2>
                                        <p class="p_clilibox">
                                            <img src="./今日餐品 - 寻面_files/chili.png" width="7px">
                                            <img src="./今日餐品 - 寻面_files/chili.png" width="7px">
                                            <img src="./今日餐品 - 寻面_files/chili.png" width="7px">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥15/份</span>
                                            <span>现价：<em> ￥13</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="31" itemname="剁椒姜鸭面(大）" itemprice="13.0000"><span style=" background:#ff8200; display:block; width:100%;">点 餐</span></div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="31" itemName="剁椒姜鸭面(大）" itemPrice="13.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="31" itemName="剁椒姜鸭面(大）" itemPrice="13.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </li>
            <li class="tab_con" style="display: none;">
                <ul class="nd_right_list">
                    <li>
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="./今日餐品 - 寻面_files/55913e2fc66cf.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="./今日餐品 - 寻面_files/55913e2fc66cf.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name">
                                            <a href="">私房肥肠面（小） </a>
                                        </h2>
                                        <p class="p_clilibox">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥10/份</span>
                                            <span>现价：<em> ￥8</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="45" itemname="私房肥肠面（小）" itemprice="8.0000"><span style=" background:#ff8200; display:block; width:100%;">点 餐</span></div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="45" itemName="私房肥肠面（小）" itemPrice="8.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="45" itemName="私房肥肠面（小）" itemPrice="8.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="radius_box">
                            <div class="con_box tab_box mb3">
                                <div class="p_ele">
                                    <div class="p_img fl imgfit">
                                        <img src="./今日餐品 - 寻面_files/558d91e1520f8.jpg" width="200px;" height="126px;">
                                    </div>
                                    <div class="hide_bigpic"><img src="./今日餐品 - 寻面_files/558d91e1520f8.jpg" width="100%"><p>图片仅供参考，请以实物为准</p></div>
                                    <div class="p_info inbox">
                                        <h2 class="p_name">
                                            <a href="">焖锅牛杂面（小） </a>
                                        </h2>
                                        <p class="p_clilibox">
                                            <img src="./今日餐品 - 寻面_files/chili.png" width="7px">
                                            <img src="./今日餐品 - 寻面_files/chili.png" width="7px">

                                        </p>
                                    </div>
                                    <div class="buynow clearfix">
                                        <div class="b_price item_price ">
                                            <span style="text-decoration:line-through;">原价: ￥10/份</span>
                                            <span>现价：<em> ￥8</em>/份</span>
                                        </div>
                                        <div class="doarea" style="float:right; width:40%; padding-top:20px;">
                                            <div style="width:60%;float:right; margin-right:10px;font-size:12px; height:24px; border-radius:3px; color:#fff; text-align:center; line-height:24px;" class="addcircles" itemid="43" itemname="焖锅牛杂面（小）" itemprice="8.0000"><span style=" background:#ff8200; display:block; width:100%;">点 餐</span></div>
                                            <!--<div class="b_add cbox">
                                                <span class="minuscircle" itemId="43" itemName="焖锅牛杂面（小）" itemPrice="8.0000" ></span> <span class="b_num">0</span>
                                                <span class="addcircle" itemId="43" itemName="焖锅牛杂面（小）" itemPrice="8.0000" ></span>
                                            </div>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </li>
            <li class="tab_con" style="display: none;">
                <ul class="nd_right_list"></ul>
            </li>
            <li class="tab_con" style="display: none;">
                <ul class="nd_right_list"></ul>
            </li>
            <li class="tab_con" style="display: none;">
                <ul class="nd_right_list"></ul>
            </li>
            <li class="tab_con" style="display: none;">
                <ul class="nd_right_list"></ul>
            </li>
            <li class="tab_con" style="display: none;">
                <ul class="nd_right_list"></ul>
            </li>


        </ul>
        <div id="flyItem" class="fly_item"></div>
    </div>
    <div class="footer_cart">
        <!--bottom_hide s-->
        <div class="bottom_hide" id="bottom_cartInfo" style="bottom: -45px; display: none;"></div>
        <!--bottom_hide e-->
        <div class="clearfix xiuwraper">
            <div class="cartbox" id="shopCart">
                <span class="icon-cart"></span><span id="totalnum">0</span>
            </div>
            <div class="xiugai"><span>修改订单</span></div>
        </div>
        <div class="complete">
            <form id="fromCart" name="fromCart" action="http://wap.aichidiancan.com/index.php?ctl=cart&amp;act=check" method="POST">
                @*<a href="javascript:void(0);" onclick="submit_cart()">点餐提交</a>*@
                <a href="javascript:void(0);" onclick="">点餐提交</a>
            </form>
        </div>
    </div>
    <div class="body_cover" style="display: none;"></div>
    <script type="text/javascript" src="~/今日餐品 - 寻面_files/parabola.js"></script>
    <script type="text/javascript">
        // 元素以及其他一些变量
        var eleFlyElement = document.querySelector("#flyItem"),
		eleShopCart = document.querySelector("#shopCart");
        var numberItem = 0;
        // 抛物线运动
        var myParabola = funParabola(eleFlyElement, eleShopCart, {
            speed: 200, //抛物线速度
            curvature: 0.001, //控制抛物线弧度
            complete: function () {
                eleFlyElement.style.visibility = "hidden";
            }
        });
        // 绑定点击事件
        if (eleFlyElement && eleShopCart) {
            [].slice.call(document.getElementsByClassName("addcircle")).forEach(
							function (button) {
							    button.addEventListener("click",
												function (event) {
												    // 滚动大小
												    var scrollLeft = document.documentElement.scrollLeft
															|| document.body.scrollLeft
															|| 0, scrollTop = document.documentElement.scrollTop
															|| document.body.scrollTop
															|| 0;
												    eleFlyElement.style.left = event.clientX + scrollLeft + "px";
												    eleFlyElement.style.top = event.clientY + scrollTop + "px";
												    eleFlyElement.style.visibility = "visible";
												    // 需要重定位
												    myParabola.position().move();
												});
							});
        }
    </script>
    <script type="text/javascript">
        $(document).ready(
				function () {
				    jQuery.jqtab = function (tabtit, tab_conbox, shijian) {
				        $(tabtit).find("li:first").addClass("current").show();
				        $(tab_conbox).find("li:first").show();
				        $(tabtit).find("li").bind(shijian,
								function () {
								    $(this).addClass("current").siblings("li").removeClass("current");
								    var activeindex = $(tabtit).find("li").index(this);
								    $(tab_conbox).children().eq(activeindex).show().siblings().hide();
								    return false;
								});
				    };
				    $.jqtab("#tabs", "#tab_conbox", "click");
				});
        $(function () {
            var zooming = false;
            $(".p_img").click(function () {
                $(".body_cover").animate({
                    opacity: "show",
                }, 200)
                $(this).parent().find(".hide_bigpic").animate({
                    opacity: "show",
                }, 200);
            });
            $(".xiuwraper").click(function () {
                $(".bottom_hide").animate({
                    bottom: "45px",
                }).show();
                $(".body_cover").animate({
                    opacity: "show",
                }, 200)

            })
            $(".body_cover").click(function () {
                hide();
                $(".bottom_hide").animate({
                    bottom: "-45px",
                }).hide();
            })
            $(".hide_bigpic").click(function () {
                hide()
            })

            function hide() {
                if (zooming) return false;
                zooming = true;
                //$('.hide_bigpic').unbind('click');
                $(".body_cover").hide();
                $('.hide_bigpic').animate({
                    opacity: "hide",
                }, 200, null, function () {
                    zooming = false;
                });
                return false;
            }
        });
    </script>
    <script language="javascript" type="text/javascript">
        var s, s2, s3, timer;
        function init() {
            s = getid("div1");
            s2 = getid("div2");
            s3 = getid("div3");
            s3.innerHTML = s2.innerHTML;
            timer = setInterval(mar, 30)
        }
        function mar() {
            if (s2.offsetWidth <= s.scrollLeft) {
                s.scrollLeft -= s2.offsetWidth;
            } else { s.scrollLeft++; }
        }
        function getid(id) {
            return document.getElementById(id);
        }
        window.onload = init;
    </script>

</body>
</html>